package com.ruoyi.contractHomepage.mapper;

import com.ruoyi.contractHomepage.domain.DocContractHome;
import com.ruoyi.contractHomepage.domain.vo.DoctorVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DocContractHomeMapper {

    DocContractHome selectTeamWithDoctor(Long teamId);

    List<DocContractHome> selectAllTeamsWithDoctor();

    List<DocContractHome> selectAllTeams();

    List<DoctorVo> selectDoctorsByTeamId(Long teamId);

    List<DocContractHome> searchTeamsByName(@Param("teamName") String teamName);

}
